common: mmc: unsigned char compared against 0
authorPeng Fan <[email protected]>
Wed, 25 Nov 2015 09:16:21 +0000 (17:16 +0800)
committerTom Rini <[email protected]>
Sat, 5 Dec 2015 23:22:24 +0000 (18:22 -0500)
commit678e9316d48f78d162f705846b6f6eeab4aa5dd0
treee25e20c850b7d68f4708a30008dc6b97c26015d7
parent9f8edb76512b0e8815e2e53e248c128414739fcc
common: mmc: unsigned char compared against 0

"enable" is unsigned char type and its value will not be
negative, so discard "enable < 0".

Signed-off-by: Peng Fan <[email protected]>
Cc: Diego Santa Cruz <[email protected]>
Cc: Pantelis Antoniou <[email protected]>
Cc: Andrew Gabbasov <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: Tom Rini <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
common/cmd_mmc.c